﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BDPAutodetect.Device;

namespace BDPAutodetect.Models
{
    /// <summary>
    /// 工位按钮命令
    /// </summary>
    public class MStationCommandDto
    {
        /// <summary>
        /// 工位类型
        /// </summary>
        public DeviceStationType StationType { get; set; }
        /// <summary>
        /// 按钮命令类型
        /// </summary>
        public ButtonCommandType CommandType { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        public MStationCommandDto()
        {
            this.StationType = DeviceStationType.None;
            this.CommandType = ButtonCommandType.None;

        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="argStationType">工位类型</param>
        /// <param name="argCommandType">按钮命令类型</param>
        public MStationCommandDto(DeviceStationType argStationType, ButtonCommandType argCommandType)
        {
            this.StationType = argStationType;
            this.CommandType = argCommandType;
        }
    }
}
